<?php
date_default_timezone_set("America/Recife");
include 'database.package.php';
include 'user.package.php';
include 'anotacao.package.php';
include 'UserFachada.php';


if(!isset($_REQUEST['opt'])){
	die("Acesso Indevido");



}else{

	$entrada = $_REQUEST;
	$fachada = new UsuarioFachada();

	$class = new ReflectionClass("UsuarioFachada");

	if($class->hasMethod($entrada['opt'])){
		$method = $class->getMethod($entrada['opt']);

		$method->invoke($fachada,$entrada);
	}


}

?>